Skip to content

feat: AI agent extension#1859

Open
filipecabaco wants to merge 1 commit into
mainfrom
feat/ai-agent-extension
Open

feat: AI agent extension#1859
filipecabaco wants to merge 1 commit into
mainfrom
feat/ai-agent-extension

Conversation

@filipecabaco
Copy link
Copy Markdown
Member

What kind of change does this PR introduce?

Adds first-class AI agent support to Realtime. Clients can chat with LLM-backed agents through the same WebSocket they already use for Broadcast, Presence, and Postgres Changes. The provider API key never leaves the server — clients only see streamed broadcasts.

Supports any OpenAI-compatible and Antrophic agents. Conversations are persisted in realtime.messages and can be resumed across reconnects via session_id. Authorization uses the existing RLS pattern with a new ai_agent extension type.

@filipecabaco filipecabaco force-pushed the feat/ai-agent-extension branch 3 times, most recently from 06173a9 to b712883 Compare May 18, 2026 09:45
@coveralls
Copy link
Copy Markdown

coveralls commented May 18, 2026

Coverage Status

Coverage is 90.662%feat/ai-agent-extension into main. No base build found for main.

@filipecabaco filipecabaco force-pushed the feat/ai-agent-extension branch 3 times, most recently from bef0aed to 781a520 Compare May 18, 2026 10:51
Adds first-class AI agent support to Realtime. Clients can chat with LLM-backed agents through the same WebSocket they already use for Broadcast, Presence, and Postgres Changes. The provider API key never leaves the server — clients only see streamed broadcasts.

Supports OpenAI, Anthropic, Groq, OpenRouter, Mistral, Ollama, and any OpenAI-compatible endpoint. Conversations are persisted in realtime.messages and can be resumed across reconnects via session_id. Authorization uses the existing RLS pattern with a new ai_agent extension type.
@filipecabaco filipecabaco force-pushed the feat/ai-agent-extension branch from 781a520 to 18c341d Compare May 18, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants